package com.example.dirviesystem.repository;

import com.example.dirviesystem.entity.TrainingVideo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TrainingVideoRepository extends JpaRepository<TrainingVideo, Long> {
    List<TrainingVideo> findBySubject(String subject);
}
